package com.pz.art.service;


import com.pz.art.domain.AssoAnnual;
import com.ruoyi.common.core.domain.AjaxResult;

import java.util.List;

/**
 * 年度会费Service接口
 *
 * @author ruoyi
 * @date 2025-02-20
 */
public interface AnnualService
{
    /**
     * 查询年度会费
     *
     * @param id 年度会费主键
     * @return 年度会费
     */
    public AssoAnnual selectAssoAnnualById(Long id);

    /**
     * 查询年度会费列表
     *
     * @param assoAnnual 年度会费
     * @return 年度会费集合
     */
    public List<AssoAnnual> selectAssoAnnualList(AssoAnnual assoAnnual);

    /**
     * 新增年度会费
     *
     * @param assoAnnual 年度会费
     * @return 结果
     */
    public int insertAssoAnnual(AssoAnnual assoAnnual);

    /**
     * 修改年度会费
     *
     * @param assoAnnual 年度会费
     * @return 结果
     */
    public int updateAssoAnnual(AssoAnnual assoAnnual);

    /**
     * 批量删除年度会费
     *
     * @param ids 需要删除的年度会费主键集合
     * @return 结果
     */
    public int deleteAssoAnnualByIds(Long[] ids);

    /**
     * 删除年度会费信息
     *
     * @param id 年度会费主键
     * @return 结果
     */
    public int deleteAssoAnnualById(Long id);

    public AjaxResult getUnitTotal();
}
